'use strict';

/**
 * @ngdoc filter
 * @name jgappApp.filter:spliceDep
 * @function
 * @description
 * # spliceDep
 * Filter in the jgappApp.
 */
angular.module('jgappApp')
    .filter('spliceDep', function() {
        var reg = /(:\d+)/g;
        return function(input) {
            if (input) {
                input = input.replace(reg, "")
            }
            console.log(input)
            return input;
        };
    });
